This is an English translation of the Basque original for a course on mechanics, oscillations and waves.
It requires Java 1.5 or newer and was created by Juan M. Aguirregabiria with Easy Java Simulations (Ejs) by Francisco Esquembre.
One may also use Dynamics I thank Wolfgang Christian and Francisco Esquembre for their help. Solver to explore this problem: see this simulation.